package com.usian.comment.feign;

import com.usian.model.user.pojos.ApUser;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "leadnews-user")
@RequestMapping("/api/v1/apuser")
public interface ApUserFeign {

    @GetMapping("/findUserById/{id}")
    public ApUser findUserById(@PathVariable Integer id);
}
